package com.john.cloud.nacos.feign.fallback;

import com.john.cloud.nacos.feign.controller.EchoService;
import org.springframework.stereotype.Component;

/**
 * @Author: JohnCoding
 * @Description:
 * @date: 2020/7/7 10:13
 */

@Component
public class EchoServiceFallback implements EchoService {
    @Override
    public String echo(String message) {
        return "this is a fallback "+ message;
    }
}
